Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmarking #150

Merged
merged 6 commits into from
Sep 21, 2024
Merged

Add benchmarking #150

merged 6 commits into from
Sep 21, 2024

Conversation

AQLT
Copy link
Collaborator

@AQLT AQLT commented Sep 21, 2024

  • Benchmarking added in spec functions and in results (new element in list)
library(RJDemetra)
mod <- x13(ipi_c_eu[,"FR"], x13_spec(benchmarking.enabled = TRUE))
mod$benchmarking
#> $specification
#>  benchmarking.enabled benchmarking.target benchmarking.useforecast
#>                  TRUE    CalendarAdjusted                    FALSE
#>  benchmarking.rho benchmarking.lambda
#>                 1                   1
#> 
#> $benchmarking
#>           original    result   Differences
#> Jan 1990  92.84963  92.85339 -3.753263e-03
#> Feb 1990  95.29209  95.29594 -3.850250e-03
#> Mar 1990  95.15793  95.16177 -3.841299e-03
#> Apr 1990  94.46963  94.47344 -3.808238e-03
#> May 1990  93.86488  93.86866 -3.776868e-03
#> Jun 1990  92.87984  92.88357 -3.728597e-03
#> [...]
#> attr(,"class")
#> [1] "benchmarking"
mod <- x13(ipi_c_eu[,"FR"], x13_spec())
mod$benchmarking
#> $specification
#>  benchmarking.enabled benchmarking.target benchmarking.useforecast
#>                 FALSE    CalendarAdjusted                    FALSE
#>  benchmarking.rho benchmarking.lambda
#>                 1                   1
#> 
#> $benchmarking
#> NULL
#> 
#> attr(,"class")
#> [1] "benchmarking"

@AQLT AQLT merged commit 9b1a379 into rjdverse:develop Sep 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant